package com.zdy.ws.ws.dto;

import lombok.Data;

/**
 * <p>
 * 消息入参
 * </p>
 *
 * @author zdy
 * @date 2021/12/20
 */
@Data
public class MessageInput {

    //@ApiModelProperty(value = "发送者id", required = true)
    private String fromUserId;

    //@NotEmpty(message = "接收者id不能为空")
    //@ApiModelProperty(value = "接收者id", required = true)
    private String toUserId;

    //@ApiModelProperty(value = "消息类型（0-心跳监测消息，1-普通的消息）", required = true)
    private Integer msgType;

    //@ApiModelProperty(value = "消息内容", required = true)
    private String content;

    //@ApiModelProperty(value = "拓展json", required = false)
    private String extras;
}
